{% extends 'base.html' %}

{% block title %} Welcome! {% endblock %}

{% block nav %} {% endblock %}

{% block content %}
<div id="auth" style="margin:0 auto;display:table;">
	<p> Please log in: </p>
	<form method="post"> {% csrf_token %}
		<label for="id_username">  Username: </label>
		<input  id="id_username" type="text" name="username"  />
		<br>
		<label for="id_password"> Password: </label>
		<input id="id_password" type="password" name="password"  />
		<br>
		<input type="submit" value="Login">
	</form>
	<script type="text/javascript">
		document.getElementById('id_username').focus()
	</script>
	<p>Forgot password?<a href="/users/password_reset/"> Reset me! </a></p>
</div>

{% endblock %}
